package com.tang.algorithm.listnode;



/**
 * @author tlm
 * @version 1.0
 * @date 2020/5/28 23:18
 */
public class LeetCode0203 {
    public static void main(String[] args) {

    }
    public void deleteNode(ListNode node) {
        node.val=node.next.val;
        node.next=node.next.next;
    }
}
class ListNode {
    int val;
        ListNode next;
        ListNode(int x) {
        val = x;
    }
}
